package com.shigu.account.enums;

/**
 * @author 郭尔
 * @description 提现审核状态
 * @date 2019-04-30 15:56
 */
public enum CashState {
    WAIT(1,"审核中"),
    PASS(2,"审核通过"),
    REFUSE(3,"审核拒绝");

    public static CashState selByValue(int value){
        for(CashState pt: CashState.values()){
            if(pt.getValue()==value){
                return pt;
            }
        }
        return null;
    }


    CashState(int value, String title) {
        this.value = value;
        this.title = title;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    private int value;
    private String title;

    public int getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }

    }
